PHP_ARG_ENABLE(mysqlnd_uh, whether to enable mysqlnd_uh support,
[  --enable-mysqlnd-uh           Enable mysqlnd_uh support])

if test "$PHP_MYSQLND_UH" != "no"; then
  PHP_SUBST(MYSQLND_UH_SHARED_LIBADD)

  mysqlnd_uh_sources="php_mysqlnd_uh.c mysqlnd_uh.c mysqlnd_uh_classes.c"

  PHP_ADD_EXTENSION_DEP(mysqlnd_uh, mysqlnd)
  PHP_ADD_EXTENSION_DEP(mysqlnd_uh, mysqli)

  PHP_NEW_EXTENSION(mysqlnd_uh, $mysqlnd_uh_sources, $ext_shared)
fi